package com.qdsg.modulesihealsdk.entity;

import com.siheal.entitys.measure.TemperatureEntity;

/**
 * @Description
 * @Author WuJianFeng
 * @Date 2022/12/9 17:42
 */
public class TResultEntity extends BaseMeasureEntity {
    private TemperatureEntity tEntity;

    public TResultEntity(TemperatureEntity tEntity){
        this.tEntity = tEntity;
    }
    public TemperatureEntity gettEntity() {
        return tEntity;
    }

    public void settEntity(TemperatureEntity tEntity) {
        this.tEntity = tEntity;
    }

    @Override
    public String getDetectResult(){

        if (tEntity == null){
            return "";
        }
        //体温
        return String.valueOf(tEntity.getTemperature());
    }
}
